﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MINERP.MODEL.FoundationModel
{
    public class ComplexOrderInfo:OrderInfo_Info
    {
        public string ShopName { get; set; }
        public int OrilNum { get; set; }
        public string TechName { get; set; }
        public int TechId { get; set; }
        public DateTime OrderTime { get; set; }
       
        public List<ProductStoreInfo> SubProductList { get; set; }
        public int UsefulNum { get
            { return SubProductList.OrderBy(p => p.usefulNum).FirstOrDefault().usefulNum; }
        }
        public int OperNum { get; set; }//本次操作数量
        public int Priority { get; set; }
    }
    
}
